﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Logistics.Manager
{
    public class TC_OWS_FILE
    {
        private readonly DataAccess.TC_OWS_FILE tc_OWS_FILE;
        public TC_OWS_FILE()
        {
            tc_OWS_FILE = new DataAccess.TC_OWS_FILE();
        }
        public bool Add(Model.TC_OWS_FILE model)
        {
            return tc_OWS_FILE.Add(model);
        }

        public string Upd(Model.TC_OWS_FILE model,DateTime l_outdt)
        {
            return tc_OWS_FILE.Upd(model, l_outdt);
        }

        public List<Model.TC_OWS_FILE> GetList(List<string> owi, string l_date, string status)
        {
            return tc_OWS_FILE.GetList(owi, l_date, status);
        }

        /// <summary>
        /// 单据明细
        /// </summary>
        public List<Model.TC_OWS_FILE> GetDetail(string l_tc_owr001, string l_tc_owr002)
        {
            return tc_OWS_FILE.GetDetail(l_tc_owr001, l_tc_owr002);
        }
    }
}
